package com.huaxin.hxcloud.find.view;

import com.huaxin.common.Entity.FindInfo;

import java.util.List;

/**
 * @author: songxf
 * @description: 点赞EventBus
 * @projectName: HxCloud
 * @date: 2017-07-01
 * @time: 18:28
 */
public class LikeDataEventBus {
    public int     questionId;
    public boolean like; //是否点赞
    public int     likeNum;



    public FindInfo.LikeerArrayBean likeerArray;

    public LikeDataEventBus(int questionId, boolean like, int likeNum, FindInfo.LikeerArrayBean likeerArray) {
        this.questionId = questionId;
        this.like = like;
        this.likeNum = likeNum;
        this.likeerArray = likeerArray;
    }


    public FindInfo.LikeerArrayBean getLikeerArray() {
        return likeerArray;
    }

    public void setLikeerArray(FindInfo.LikeerArrayBean likeerArray) {
        this.likeerArray = likeerArray;
    }

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public boolean isLike() {
        return like;
    }

    public void setLike(boolean like) {
        this.like = like;
    }

    public int getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(int likeNum) {
        this.likeNum = likeNum;
    }

    @Override
    public String toString() {
        return "LikeDataEventBus{" +
                "questionId=" + questionId +
                ", like=" + like +
                ", likeNum=" + likeNum +
                '}';
    }
}
